package com.tjise.servicebase.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: tjise_parent
 * @description: 自定义异常
 * @author: 郑朝文
 * @create: 2021-06-22 11:03
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TjiseException extends RuntimeException{
    @ApiModelProperty(value = "状态码")
    private Integer code; // 错误状态码
    private String msg; // 错误信息
}


